stream = open(r"i:/w1.txt", 'a')
print(stream.writable())
s = 'sfasdfsf'
stream.write(s)
s = 'fsdafd'
stream.write(s)
s = '''
床前明月光，疑是地上霜。
举头望明月，低头思故乡。
'''
stream.writelines(s)
stream.close()
